@import "../../../app.less";

.container {
  height: 100vh;
  background-color: #eee;
  color: #333;
  display: flex;
  flex-direction: column;

  .content {
    flex-grow: 1;
    overflow-y: auto;

  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .nav_item {
      text-align: center;
      flex-grow: 1;
      padding: 30rpx 0;

      &.light {
        background-color: rgb(197, 230, 236);
        color: @themeColor;
      }

      &.deep {
        color: white;
        background-color: @themeColor;
      }
    }
  }
}

.themeColor {
  color: @themeColor;
}

.grey {
  color: #999;
}

.card {
  background-color: #fff;
  padding: 20rpx;
  margin-bottom: 20rpx;

  .row {
    margin-bottom: 20rpx;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .item_avator {
      display: flex;
      align-items: center;

      .img {
        width: 60rpx;
        height: 60rpx;
        border-radius: 50%;
        overflow: hidden;
      }

      .name {
        margin-left: 10rpx;
      }
    }

    .item_time {
      color: #999;
    }

    .top_left {}

    .top_right {
      display: flex;
      align-items: center;

      .logo {
        width: 20rpx;
        height: 20rpx;
        border-radius: 50%;
        background-color: @themeColor;
      }

      .text {
        margin-left: 10rpx;
        color: @themeColor;
      }
    }

    .order_id {
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }

    .goods_item {
      font-size: 30rpx;
      display: flex;
      align-items: center;
      width: 50%;
    }

    .label {
      color: #999;
    }

    .value {}

    .note {
      text-indent: 2rem;
    }

    .bounty {
      font-size: 50rpx;
      padding: 10rpx 20rpx;
      color: @themeColor;
      border-radius: 50rpx;
    }

    .share {
      color: @themeColor;
      background-color: @themeColorLight;
      padding: 10rpx 20rpx;
      border-radius: 50rpx;
    }
  }

}

.payway {
  display: flex;
  align-items: center;

  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40rpx;
    border-radius: 8rpx;
    width: 50rpx;
    height: 50rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #22AB39;
    margin-right: 10rpx;
  }

  .zhifubao {
    background-color: #019FE8;
    font-size: 55rpx;
  }
}

// 授权弹窗

.modal-dialog {
  top: 0;
  left: 0;
  position: fixed;
  width: 650rpx;
  border-radius: 10rpx;
  text-align: center;
  width: 100vw;
  height: 100vh;

  .mask {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100vw;
    height: 100vh;
  }

  .modal-wrap {
    z-index: 1;
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;

    .modal-header {
      color: @themeColor;
      padding-top: 40rpx;
      padding-bottom: 25rpx;
      font-size: 40rpx;
    }

    .modal-content {
      color: grey;
      padding: 0 35rpx;
      padding-bottom: 20rpx;
      text-align: left;
      font-size: 35rpx;
    }

    .modal-buttons-wrap {
      border-top: 0.05rpx solid rgba(233, 233, 233, 0.5);
      display: flex;
      flex-flow: row nowrap;

      .modal-button {
        width: 50%;
        box-sizing: border-box;
        font-size: 40rpx;
        border-radius: 0;
        padding: 0;
        color: @themeColor;
        line-height: 2;

        &::after {
          border: none;
        }

        &:first-child {
          border-right: 0.025rpx solid rgba(233, 233, 233, 0.5);
        }

        &:last-child {
          border-left: 0.025rpx solid rgba(233, 233, 233, 0.5);
        }
      }
    }

    .form-item {
      display: flex;
      justify-content: space-between;
      padding: 20rpx 40rpx;

      .item-label {
        font-weight: bold;
      }

      .item-value {
        flex-grow: 1;

        input {
          text-align: right;
        }

        .input-placeholder {
          text-align: right;
        }
      }
    }
  }

}

.note {
  input {
    background-color: #eee;
    width: 100%;
    padding: 10rpx 20rpx;
    border-radius: 10rpx;
  }

  .btn {
    background-color: @themeColor;
    color: white;
    border-radius: 4rpx;
    padding: 10rpx 20rpx;
    justify-self: flex-end;
  }
  .avator{
  }
}